home *** CD-ROM | disk | FTP | other *** search
- * Library of Comparator subcircuit definitions
- *
- * This is a reduced version of MicroSim's voltage comparator subcircuit
- * library. You are welcome to make as many copies of it as you find
- * convenient.
- *
- * Release date: 87/06/22
- *
- * The parameters in this opamp library were derived from the data
- * sheets for each part. The comparator macro model used is derived
- * from the op amp macro model used in the OPNOM.LIB file. The op amp
- * macro model is described in:
- *
- * Macromodeling of Integrated Circuit Operational Amplifiers
- * by Graeme Boyle, Barry Cohn, Donald Pederson, and
- * James Solomon
- * IEEE Journal of Solid-State Circuits, Vol. SC-9, no. 6, Dec. 1974
- *
- * Although we do not use it, a slightly more elaborate comparator macro
- * model is described in:
- *
- * An Integrated-Circuit Comparator Macromodel
- * by Ian Getreu, Andreas Hadiwidjaja, and Johan Brinch
- * IEEE Journal of Solid-State Circuits, Vol. SC-11, no. 6, Dec. 1976
- *
- * This reference covers the considerations that go into duplicating the
- * behavior of voltage comparators.
- *
- * The comparators are modelled at room temperature. The macro model
- * does not track changes with temperature. This library file contains
- * models for nominal, not worst case, devices.
- *
- *-----------------------------------------------------------------------------
- * connections: non-inverting input
- * | inverting input
- * | | positive power supply
- * | | | negative power supply
- * | | | | open collector output
- * | | | | | output ground
- * | | | | | |
- .subckt LM111 1 2 3 4 5 6
- *
- f1 9 3 v1 1
- iee 3 7 dc 100.0E-6
- vi1 21 1 dc .45
- vi2 22 2 dc .45
- q1 9 21 7 qin
- q2 8 22 7 qin
- q3 9 8 4 qmo
- q4 8 8 4 qmi
- .model qin PNP(Is=800.0E-18 Bf=833.3)
- .model qmi NPN(Is=800.0E-18 Bf=1002)
- .model qmo NPN(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=118.8E-9)
- e1 10 6 9 4 1
- v1 10 11 dc 0
- q5 5 11 6 qoc
- .model qoc NPN(Is=800.0E-18 Bf=34.49E3 Cjc=1E-15 Tf=364.6E-12 Tr=79.34E-9)
- dp 4 3 dx
- rp 3 4 6.122E3
- .model dx D(Is=800.0E-18)
- *
- .ends
- *
- * End of library file
-